#!/usr/bin/env python
# -*- coding: utf-8 -*-

import HomeHandle
import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web


urls = [
	    (ur"/", HomeHandle.HomeHandle),
	    (ur"/insertuser", HomeHandle.InsertUser),
	    (ur"/loglist", HomeHandle.LogList),
	    (ur"/addlog", HomeHandle.AddLog),
	    (ur"/setdanz", HomeHandle.Setdanz),
	    (ur"/insertlog", HomeHandle.InsertLog),
	    (ur"/editlog", HomeHandle.EditLog),
	    (ur"/updatelog", HomeHandle.UpdateLog),
	    (ur"/deletelog", HomeHandle.DeleteLog),
	    (ur"/updateuser", HomeHandle.UpdateUser),
	    (ur"/deleteuser", HomeHandle.DeleteUser),
	    (ur"/ulist", HomeHandle.Ulist),
        (ur"/logout", HomeHandle.Logout),
        (ur"/login", HomeHandle.Login),
        (ur"/test", HomeHandle.Test),
        (ur"/log", HomeHandle.Log),
        (ur"/pixiu", HomeHandle.Pixiu),
        (ur"/actionlist", HomeHandle.ActionList),
        (ur"/baidu", tornado.web.RedirectHandler,
     dict(url="http://www.baidu.com")),

]
